package cn.edu.nuc.fourth.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.edu.nuc.fourth.model.Aproject;
import cn.edu.nuc.fourth.model.Project;

public interface AprojectMapper {
	int deleteByPrimaryKey(Integer aprojectid);

	int insert(Aproject record);

	int insertSelective(Aproject record);

	Aproject selectByPrimaryKey(Integer aprojectid);

	int updateByPrimaryKeySelective(Aproject record);

	int updateByPrimaryKey(Aproject record);

	/**
	 * 查日期
	 * 
	 * @param date
	 * @return
	 */
	public Aproject findBydate(String date);

	/**
	 * 查询记录数
	 * 
	 * @return
	 */
	public Integer count();

	/**
	 * 分页
	 * 
	 * @param statr
	 * @param offset
	 * @return
	 */
	public List<Aproject> page(@Param("start") Integer statr, @Param("offset") Integer offset);
	
	
}